﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucReportHeader.cs"
    Inherits="Billing.ucReportHeader" %>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <table cellpadding="0" cellspacing="0">
            <tr>
                <td width="200px" align="right">
                    <asp:Label ID="LblReportOwner" runat="server" Text="Report Owner:"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlReportOwner" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlReportOwner_SelectedIndexChanged1">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td width="200px" align="right">
                    <asp:Label ID="LblReportFormat" runat="server" Text="Report Format:"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlRptType" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlRptType_SelectedIndexChanged">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td width="200px" align="right">
                    <asp:Label ID="LblReportType" runat="server" Text="Report Type:"></asp:Label>
                </td>
                <td>
                    <asp:DropDownList ID="ddlReportType" runat="server">
                    </asp:DropDownList>
                </td>
            </tr>
            <tr>
                <td width="200px" align="right">
                    <asp:Label ID="lblAgency" runat="server" Text="Agency:"></asp:Label>
                </td>
                <td>
                    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
                        <ContentTemplate>
                            <asp:Panel ID="PanelAgency" runat="server">
                                <asp:DropDownList ID="ddlAgency" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlAgency_SelectedIndexChanged">
                                </asp:DropDownList>
                                <asp:Label ID="Label3" runat="server" Text="BU:"></asp:Label>
                                <asp:DropDownList ID="ddlBU" runat="server" OnSelectedIndexChanged="ddlBU_SelectedIndexChanged"
                                    AutoPostBack="True">
                                </asp:DropDownList>
                                <asp:Label ID="lblCostCentre" runat="server" Text="Cost Centre:"></asp:Label>
                                <asp:DropDownList ID="ddlCostCentre" runat="server" AutoPostBack="True">
                                </asp:DropDownList>
                            </asp:Panel>
                        </ContentTemplate>
                    </asp:UpdatePanel>
                </td>
            </tr>
            <tr>
                <td width="200px" align="right">
                    <asp:Label ID="Label5" runat="server" Text="Start Date:"></asp:Label>
                </td>
                <td>
                    <asp:TextBox runat="server" ID="txtStartDate" Text=""></asp:TextBox>
                    <asp:CalendarExtender ID="CalendarExtender1" runat="server" Enabled="True" TargetControlID="txtStartDate"
                        Format="MM/dd/yyyy">
                    </asp:CalendarExtender>
                    <asp:Label ID="Label6" runat="server" Text="End Date:"></asp:Label>
                    <asp:TextBox runat="server" ID="txtEndDate" Text=""></asp:TextBox>
                    <asp:CalendarExtender ID="CalendarExtender2" runat="server" Enabled="True" TargetControlID="txtEndDate"
                        Format="MM/dd/yyyy">
                    </asp:CalendarExtender>
                </td>
            </tr>
            <tr>
                <td width="200px" align="right">
                    <asp:Label ID="lblBillingMonth" runat="server" Text="Billing Month :" />
                </td>
                <td>
                    <asp:Panel ID="PanelBillingMonth" runat="server" Visible="False">
                        <asp:DropDownList ID="ddlMonth" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlMonth_SelectedIndexChanged">
                            <asp:ListItem>January</asp:ListItem>
                            <asp:ListItem>February</asp:ListItem>
                            <asp:ListItem>March</asp:ListItem>
                            <asp:ListItem>April</asp:ListItem>
                            <asp:ListItem>May</asp:ListItem>
                            <asp:ListItem>June</asp:ListItem>
                            <asp:ListItem>July</asp:ListItem>
                            <asp:ListItem>August</asp:ListItem>
                            <asp:ListItem>September</asp:ListItem>
                            <asp:ListItem>October</asp:ListItem>
                            <asp:ListItem>November</asp:ListItem>
                            <asp:ListItem>December</asp:ListItem>
                        </asp:DropDownList>
                        <asp:DropDownList ID="ddlYear" runat="server" AutoPostBack="True" OnSelectedIndexChanged="ddlYear_SelectedIndexChanged">
                        </asp:DropDownList>
                    </asp:Panel>
                </td>
            </tr>
        </table>
    </ContentTemplate>
</asp:UpdatePanel>
